// @author Tjzlo
// @version 2025/2/6 02:48

package com.old.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentDTO implements Serializable {

    //评论id
    private Integer commentId;
    //文章id
    private Integer postId;
    //评论者昵称
    private String commentName;
    //评论者头像
    private String commentAvatar;
    //评论者id
    private Integer commentAuthorId;
    //评论时间
    private LocalDateTime createTime;
    //修改时间
    private LocalDateTime updateTime;
    //评论内容
    private String comment;
}
